#ifndef __losor_database_h__
#define __losor_database_h__

#ifdef __cplusplus
extern "C"{
#endif

void db_init();
void db_uninit();
int db_insert( const char *key, void *val );
int db_update( const char *key, void *val );
int db_query( const char *key, void **val );
int db_delete( const char *key );

#ifdef __cplusplus
};
#endif

#endif // __losor_database_h__
